/*
 * Copyright (c) 2021 HiSilicon (Shanghai) Technologies CO., LIMITED.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "diag_cmd_psd.h"
#include "soc_zdiag.h"
#include "soc_diag_cmd_id.h"
#include "soc_diag_cmd.h"
#include "zdiag_adapt_layer.h"
#include "securec.h"

/* psd使能命令 */
ext_errno diag_cmd_psd_enable(td_u16 cmd_id, td_pvoid cmd_param, td_u16 cmd_param_size, diag_option *option)
{
    psd_enable_callback psd_enable_cb = uapi_zdiag_psd_enable_get_cb();
    if (psd_enable_cb != TD_NULL) {
        psd_enable_cb(cmd_id, cmd_param, cmd_param_size, option);
    }
    return EXT_ERR_SUCCESS;
}
